package com.example.java_chatroom.model;

import lombok.Data;

//服务器发送消息的载体
@Data
public class MessageResponse {
    private String type;
    // 比如张山要给李四发消息，此时张山的id就是fromId
    private int fromId;
    private String fromName;
    private int sessionId;
    private String content;
}
